RUN git clone https://gerrit.opnfv.org/gerrit/releng ${RELENG_REPO_DIR}
 
 RUN easy_install pytz
-RUN pip install -r ${REPOS_DIR}/bottlenecks/requirements.txt
+RUN pip install -r ${REPOS_DIR}/bottlenecks/requirements/requirements.txt
 RUN pip install -U /home/opnfv/bottlenecks
 
--- /dev/null
+##############################################################################
+# Copyright (c) 2016 Huawei Tech. and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+flake8==3.0.4
\ No newline at end of file
 
 This file will be amended in the furture.'''
 
 import utils.infra_setup.heat.template as Heat
+import os
+import sys
+import utils.parser as Parser
+
 
 class stack_api():
 
-    def from_config_template(stack_info):
+    def __init__(self):
+        pass
+
+    def from_config_template(self, stack_info):
         stack_name = stack_info['name']
         ext_gw_net = os.environ.get("EXTERNAL_NETWORK")
-        heat_parser = HeatTemplate_Parser()
+        heat_parser = Parser.HeatTemplate_Parser()
         heat_parser.add_security_group(stack_name)
         heat_parser.add_keypair(stack_name)
         for network in stack_info['networks']:
             if server.floating_ip:
                 server.public_ip = \
                     self.stack.outputs[server.floating_ip["stack_name"]]
-